package com.chance.cc.crawler.prod.command.schedule.news.douban;

import com.chance.cc.crawler.core.CrawlerJob;
import com.chance.cc.crawler.prod.command.job.domain.news.douban.searchKw.DouBanRealtimeCrawlerSchedulerJob;
import com.chance.cc.crawler.prod.command.schedule.CommonCrawlerJobSchedule;


public class DouBanCommonCrawlerJobSchedule extends CommonCrawlerJobSchedule {


    public static void main(String[] args) {
//        republishCrawlerScheduleJob(DouBanTraceTraceCrawlerSchedulerJob.crawlerSchedulejob());
        republishCrawlerScheduleJob(DouBanRealtimeCrawlerSchedulerJob.crawlerSchedulejob());
    }

    public static void republishCrawlerScheduleJob(CrawlerJob crawlerJob){
        crawlerJobScheduleCommand_17.republishCrawlerJob(crawlerJob.generateCrawlerTriggerKey(),device_name_3);
    }

    public static void delteCrawlerScheduleJob(CrawlerJob crawlerJob){
        crawlerJobScheduleCommand_17.deleteCrawlerJob(crawlerJob.generateCrawlerTriggerKey(),device_name_3);
    }
}
